package com.oa.ch.dao;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.oa.domain.Dept;

public class ChDaoImpl extends HibernateDaoSupport implements ChDao{

	public List<Dept> getDept() {
		
		return getSession().createQuery("from Dept").list();
	}

	
}
